package com.monitor.model;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class AccessLog {
    @JsonProperty(value = "req_time")
    private String req_time;

    @JsonProperty(value = "method")
    private String method;

    @JsonProperty(value = "url")
    private String url;

    @JsonProperty(value = "ip")
    private String ip;

    @JsonProperty(value = "status")
    private String status;

    @JsonProperty(value = "resp_time")
    private String resp_time;

    @JsonProperty(value = "user_id")
    private String user_id;

    @JsonProperty(value = "size")
    private String size;

    @JsonProperty(value = "upstream_addr")
    private String upstream_addr;

    @JsonProperty(value = "request_body")
    private String request_body;

    @JsonProperty(value = "connection")
    private String connection;

    @JsonProperty(value = "referer")
    private String referer;

    @JsonProperty(value = "origin")
    private String origin;

    @JsonProperty(value = "userKey")
    private String userKey;

    @JsonProperty(value = "resp_request_id")
    private String resp_request_id;

    @JsonProperty(value = "resp_generate_ids")
    private String resp_generate_ids;

    @JsonProperty(value = "resp_fd_ids")
    private String resp_fd_ids;
}
